<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<link REL="stylesheet" href="include/style.css" type="text/css"><!--[if IE]><link REL="stylesheet" href="include/styleIE.css" type="text/css"><![endif]-->{BEGIN style_block}
<STYLE>
#height100{$id} {padding:1px;}
#toplinks_caption{$id} {padding:0px 1px;font-size:12px;font-weight:bold;}
#mastertable_block{$id} {margin-left:50px;margin-top:2px}
#toplinks_block{$id} {width:100%;padding:0px;padding-left:30px}
#toplinks_block{$id} span {padding-left:1px;}
#search_records_block{$id} { padding-left:5px;}
#search_records_block{$id} > * {vertical-align:middle;}
#search_records_block{$id} select {margin:3px 0px;}
#login_block{$id} {padding:10px; margin-bottom:3px}
#login_block{$id} * {margin-left:5px; padding:5px 0px;}
#menu_block{$id} {padding:10px;}
#menu_block{$id} * {list-style-type:none;}
#menu_block{$id} IMG {vertical-align:middle;}
#record_controls{$id} {padding:10px 10px;text-align: left;}
#record_controls{$id} span{padding-left:10px;}
#recordcontrolsadd_block{$id} {padding:10px 10px;border: solid; border-width: 1px; border-color: #C0C0C0;text-align: right;}
#grid_block{$id} {border:solid 1px #C0C0C0;}
.listIcons img.listIcon{margin:0 3px;opacity:0.3;filter:alpha(opacity=30);}
.grid_recordheader {padding-top:5px;}
.grid_recordheader a {margin:0 5px;}
body {margin:0px;padding:0px;}
.bottomPanelBorder{
	/*margin-right: 10px;*/
	padding-bottom: 18px;
	border-left: 1px solid #C0C0C0;
	border-right: 1px solid #C0C0C0;
	border-bottom: 1px solid #C0C0C0;
}
#searchform{$id}{float: left;}
#searchPanelContainer{$id}{
	width: 200px;
	float: left;
	position:absolute;
}
.searchOptions {margin-top: -10px;}
/*report styles*/
#export_links{$id} * {padding:0}
</STYLE>
{END style_block}{BEGIN iestyle_block}<!--[if IE]>
<STYLE>
.grid {height:100%;}
</STYLE>
<![endif]-->{END iestyle_block}
<META name=GENERATOR content="MSHTML 8.00.7600.16891"></HEAD>
<BODY {$bodyattrs} marginwidth="0" marginheight="0">{BEGIN body}{$header} 
<DIV id="height100{$id}">
{BEGIN toplinks_block}<DIV id="toplinks_block{$id}">
<H2><B>Demanda&nbsp;Pedido</B></H2></DIV>{END toplinks_block}
{BEGIN search_records_block}<DIV id="recordcontrolsadd_block{$id}" class=shade><SPAN id="search_records_block{$id}" class=shade>{BEGIN details_block}<SPAN {$details_attrs}>Ítens Encontrados: 
<B>{$records_found}</B>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN>{END details_block} 
{BEGIN pages_block}<SPAN {$pages_attrs}>Página <B>{$page}</B> de <B>{$maxpages}</B></SPAN>{END pages_block} 
&nbsp;&nbsp;&nbsp;&nbsp; {BEGIN recordspp_block}<!-- class="center_block" -->{$recsPerPage} {END recordspp_block}</SPAN></DIV>{END search_records_block}<!-- search panel and window -->
<DIV id="searchPanelContainer{$id}" class=searchPanelContainer>{$adv_search_panel} </DIV>
<DIV {$marginStyle} moveForSearch="move{$id}">
{BEGIN recordcontrols_block}<DIV id="record_controls{$id}">{BEGIN newrecord_controls}<SPAN id="newrecord_controls{$id}">{BEGIN add_link}<SPAN class=buttonborder><INPUT class=button value="Adicionar Novo" type=button {$addlink_attrs}> 
</SPAN>{END add_link}</SPAN>{END newrecord_controls}{$lookupSearchControls} {BEGIN record_controls}<SPAN id="record_controls{$id}2"></SPAN>{END record_controls}</DIV>{END recordcontrols_block}
<DIV id="usermessage{$id}" class=message>{$user_message}</DIV>
{BEGIN grid_block}<TABLE id="grid_block{$id}" class=display border=0 cellSpacing=2 cellPadding=3 name="maintable">
  {BEGIN grid_header}<THEAD>
  <TR vAlign=top {$gridHeader_attrs}>{BEGIN record_header}
    {BEGIN listIcons_column}<TH class=blackshade noWrap align=middle iEditCont="all" {$widthListIcons}>&nbsp;</TH>{END listIcons_column}
    {BEGIN sgebio_demanda_pedido_dtable_column}<TH class=blackshade align=left>&nbsp;</TH>{END sgebio_demanda_pedido_dtable_column}
    {BEGIN numero_pedido_fieldheadercolumn}<TH class=blackshade align=left>&nbsp; {BEGIN numero_pedido_fieldheader}<A class=defblackshade {$numero_pedido_orderlinkattrs}>Numero Pedido</A>{END numero_pedido_fieldheader} &nbsp; </TH>{END numero_pedido_fieldheadercolumn}
    {BEGIN id_produto_fieldheadercolumn}<TH class=blackshade align=left>&nbsp; {BEGIN id_produto_fieldheader}<A class=defblackshade {$id_produto_orderlinkattrs}>produto</A>{END id_produto_fieldheader} 
      &nbsp; </TH>{END id_produto_fieldheadercolumn}
    {BEGIN qtd_pedido_fieldheadercolumn}<TH class=blackshade align=left>&nbsp; {BEGIN qtd_pedido_fieldheader}<A class=defblackshade {$qtd_pedido_orderlinkattrs}>Quantidade</A>{END qtd_pedido_fieldheader} &nbsp; </TH>{END qtd_pedido_fieldheadercolumn}
    {BEGIN id_macroprocesso_fieldheadercolumn}<TH class=blackshade align=left>&nbsp; {BEGIN id_macroprocesso_fieldheader}<A class=defblackshade {$id_macroprocesso_orderlinkattrs}>Macroprocesso</A>{END id_macroprocesso_fieldheader} &nbsp; </TH>{END id_macroprocesso_fieldheadercolumn}
    {BEGIN justificativa_fieldheadercolumn}<TH class=blackshade align=left>&nbsp; Justificativa &nbsp; </TH>{END justificativa_fieldheadercolumn}
    {BEGIN endrecordheader_block}<TH>&nbsp;</TH>{END endrecordheader_block}{END record_header}</TR></THEAD>{END grid_header}
  <TBODY>
  {BEGIN grid_row}<TR vAlign=top {$rowattrs} {$rowstyle}>{BEGIN grid_record}
    {BEGIN listIcons_column}<TD class=listIcons vAlign=middle noWrap align=left iEditCont="all">{BEGIN edit_column}{BEGIN edit_link}<A class=tooltip title=Editar rel=Editar 
      {$editlink_attrs}><IMG class=listIcon border=0 alt=Editar align=middle 
      src="images/icon_edit_new.gif"></A> {END edit_link}{END edit_column}</TD>{END listIcons_column}
    {BEGIN sgebio_demanda_pedido_dtable_column}<TD vAlign=middle noWrap align=left>{BEGIN demanda_movimentacao_dtable_link}<A class=tooltip 
      rel="Demanda Movimentacao" {$demanda_movimentacao_dtablelink_attrs}><IMG 
      title="Demanda Movimentacao" alt="Demanda Movimentacao" 
      src="botoes/view.png"> <SPAN {$demanda_movimentacao_childnumber_attr}>{BEGIN demanda_movimentacao_childcount}({$demanda_movimentacao_childnumber}) 
      {END demanda_movimentacao_childcount}</SPAN></A>&nbsp; {END demanda_movimentacao_dtable_link}</TD>{END sgebio_demanda_pedido_dtable_column}
    {BEGIN numero_pedido_fieldcolumn}<TD vAlign=middle {$numero_pedido_style}>{$numero_pedido_value} </TD>{END numero_pedido_fieldcolumn}
    {BEGIN id_produto_fieldcolumn}<TD vAlign=middle {$id_produto_style}>{$id_produto_value} </TD>{END id_produto_fieldcolumn}
    {BEGIN qtd_pedido_fieldcolumn}<TD vAlign=middle {$qtd_pedido_style}>{$qtd_pedido_value} </TD>{END qtd_pedido_fieldcolumn}
    {BEGIN id_macroprocesso_fieldcolumn}<TD vAlign=middle {$id_macroprocesso_style}>{$id_macroprocesso_value} </TD>{END id_macroprocesso_fieldcolumn}
    {BEGIN justificativa_fieldcolumn}<TD vAlign=middle {$justificativa_style}>{$justificativa_value} </TD>{END justificativa_fieldcolumn}
    {BEGIN endrecord_block}<TD class=body2 {$endrecordblock_attrs}>&nbsp;</TD>{END endrecord_block}{END grid_record}</TR>{END grid_row}</TBODY></TABLE>{END grid_block}
{BEGIN pagination_block}<DIV id="pagination_block{$id}" class=toplist align=center>{$pagination}</DIV>{END pagination_block}
{BEGIN message_block}<DIV id="message_block{$id}" class=toplist align=center valign="middle"><B>{$message}</B></DIV>{END message_block}</DIV>{END body}{$footer} 
</DIV></BODY></HTML>
